Skip to content

Ccip-11386 permablessed commit stores in rmn ccip view#22390

Open
AnieeG wants to merge 8 commits into
developfrom
CCIP-11386-permablessedcommit
Open

Ccip-11386 permablessed commit stores in rmn ccip view#22390
AnieeG wants to merge 8 commits into
developfrom
CCIP-11386-permablessedcommit

Conversation

@AnieeG
Copy link
Copy Markdown
Contributor

@AnieeG AnieeG commented May 11, 2026

Requires

Supports

Copilot AI review requested due to automatic review settings May 11, 2026 20:56
@AnieeG AnieeG requested review from a team as code owners May 11, 2026 20:56
@github-actions
Copy link
Copy Markdown
Contributor

👋 AnieeG, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 11, 2026

✅ No conflicts with other open PRs targeting develop

ecPablo
ecPablo previously approved these changes May 11, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Risk Rating: LOW — adds an additional view field populated via an extra contract call, plus a unit/integration test update.

This PR extends the CCIP deployment “view” for the v1.5 RMN contract to include the list of perma-blessed commit stores, so downstream tooling can surface this state in JSON views.

Changes:

  • Add permaBlessedCommitStores to RMNView and populate it via GetPermaBlessedCommitStores.
  • Extend TestGenerateRMNView to set and assert the perma-blessed commit store list.

Scrupulous human review recommended (targeted areas):

  • deployment/ccip/view/v1_5/rmn.go:31-34 — error handling for the added contract call should be consistent and include context.
  • deployment/ccip/view/v1_5/rmn_test.go:55-58 — correctness of the contract method used to mutate perma-blessed commit stores in the simulated environment (ensuring it matches intended on-chain behavior and permissions).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
deployment/ccip/view/v1_5/rmn.go Adds a new JSON field to RMN view and fetches it from the contract.
deployment/ccip/view/v1_5/rmn_test.go Updates the RMN view test to set and verify perma-blessed commit stores.

}
cs, err := r.GetPermaBlessedCommitStores(nil)
if err != nil {
return RMNView{}, err
if err != nil {
return RMNView{}, fmt.Errorf("failed to get config details for RMN: %w", err)
}
cs, err := r.GetPermaBlessedCommitStores(nil)
BlessWeightThreshold: uint16(2),
CurseWeightThreshold: uint16(1),
}
permablessedStore := utils.RandomAddress()
@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 11, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

ma33r
ma33r previously approved these changes May 11, 2026
@AnieeG AnieeG dismissed stale reviews from ma33r and ecPablo via 8af201e May 11, 2026 21:24
@cl-sonarqube-production
Copy link
Copy Markdown

Copy link
Copy Markdown

@crispymangoes crispymangoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we test running generate state command from cld repo? Other than that looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants